home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / inet / internet-drafts / draft-ietf-snmpv2-smi-05.txt < prev    next >
Text File  |  1993-03-03  |  95KB  |  3,185 lines

  1.  
  2.  
  3.           Draft   Structure of Management Information for SNMPv2  Dec 92
  4.  
  5.  
  6.                        Structure of Management Information
  7.                                for version 2 of the
  8.                    Simple Network Management Protocol (SNMPv2)
  9.  
  10.                              Tue Dec 22 13:43:46 1992                     |
  11.  
  12.  
  13.                                  Jeffrey D. Case
  14.                                SNMP Research, Inc.
  15.                         University of Tennessee, Knoxville
  16.                                  case@cs.utk.edu
  17.  
  18.  
  19.                                  Keith McCloghrie
  20.                                 Hughes LAN Systems
  21.                                    kzm@hls.com
  22.  
  23.  
  24.                                  Marshall T. Rose
  25.                            Dover Beach Consulting, Inc.
  26.                               mrose@dbc.mtview.ca.us
  27.  
  28.  
  29.                                Steven L. Waldbusser
  30.                             Carnegie Mellon University
  31.                             waldbusser@andrew.cmu.edu
  32.  
  33.  
  34.  
  35.  
  36.  
  37.                                Status of this Memo
  38.  
  39.           This document is an Internet Draft.  Internet Drafts are
  40.           working documents of the Internet Engineering Task Force
  41.           (IETF), its Areas, and its Working Groups.  Note that other
  42.           groups may also distribute working documents as Internet
  43.           Drafts.
  44.  
  45.           Internet Drafts are valid for a maximum of six months and may
  46.           be updated, replaced, or obsoleted by other documents at any
  47.           time.  It is inappropriate to use Internet Drafts as reference
  48.           material or to cite them other than as a "work in progress".
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.                               Expires June 22, 1993             [Page 1]
  57.  
  58.  
  59.  
  60.  
  61.  
  62.           Draft   Structure of Management Information for SNMPv2  Dec 92
  63.  
  64.  
  65.           1.  Introduction
  66.  
  67.           A network management system contains: several (potentially
  68.           many) nodes, each with a processing entity, termed an agent,
  69.           which has access to management instrumentation; at least one
  70.           management station; and, a management protocol, used to convey
  71.           management information between the agents and management
  72.           stations.  Operations of the protocol are carried out under an
  73.           administrative framework which defines both authentication and
  74.           authorization policies.
  75.  
  76.           Network management stations execute management applications
  77.           which monitor and control network elements.  Network elements
  78.           are devices such as hosts, routers, terminal servers, etc.,
  79.           which are monitored and controlled through access to their
  80.           management information.
  81.  
  82.           Management information is viewed as a collection of managed
  83.           objects, residing in a virtual information store, termed the
  84.           Management Information Base (MIB).  Collections of related
  85.           objects are defined in MIB modules.  These modules are written
  86.           using a subset of OSI's Abstract Syntax Notation One (ASN.1)
  87.           [1].  It is the purpose of this document, the Structure of
  88.           Management Information (SMI), to define that subset.
  89.  
  90.           The SMI is divided into three parts: module definitions,
  91.           object definitions, and, trap definitions.
  92.  
  93.           (1)  Module definitions are used when describing information
  94.                modules.  An ASN.1 macro, MODULE-IDENTITY, is used to
  95.                concisely convey the semantics of an information module.
  96.  
  97.           (2)  Object definitions are used when describing managed
  98.                objects.  An ASN.1 macro, OBJECT-TYPE, is used to
  99.                concisely convey the syntax and semantics of a managed
  100.                object.
  101.  
  102.           (3)  Notification definitions are used when describing
  103.                unsolicited transmissions of management information.  An
  104.                ASN.1 macro, NOTIFICATION-TYPE, is used to concisely
  105.                convey the syntax and semantics of a notification.
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.                               Expires June 22, 1993             [Page 2]
  116.  
  117.  
  118.  
  119.  
  120.  
  121.           Draft   Structure of Management Information for SNMPv2  Dec 92
  122.  
  123.  
  124.           1.1.  A Note on Terminology
  125.  
  126.           For the purpose of exposition, the original Internet-standard
  127.           Network Management Framework, as described in RFCs 1155, 1157,
  128.           and 1212, is termed the SNMP version 1 framework (SNMPv1).
  129.           The current framework is termed the SNMP version 2 framework
  130.           (SNMPv2).
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.                               Expires June 22, 1993             [Page 3]
  175.  
  176.  
  177.  
  178.  
  179.  
  180.           Draft   Structure of Management Information for SNMPv2  Dec 92
  181.  
  182.  
  183.           2.  Definitions
  184.  
  185.           SNMPv2-SMI DEFINITIONS ::= BEGIN
  186.  
  187.  
  188.           -- the path to the root
  189.  
  190.           internet      OBJECT IDENTIFIER ::= { iso org(3) dod(6) 1 }
  191.  
  192.           directory     OBJECT IDENTIFIER ::= { internet 1 }
  193.  
  194.           mgmt          OBJECT IDENTIFIER ::= { internet 2 }
  195.  
  196.           experimental  OBJECT IDENTIFIER ::= { internet 3 }
  197.  
  198.           private       OBJECT IDENTIFIER ::= { internet 4 }
  199.           enterprises   OBJECT IDENTIFIER ::= { private 1 }
  200.  
  201.  
  202.           -- to be moved under internet later on...                       +
  203.           snmpV2        OBJECT IDENTIFIER ::=
  204.                               { joint-iso-ccitt mhs(6) group(6) mtr(200) 4 }
  205.  
  206.           -- transport mappings
  207.           snmpMappings  OBJECT IDENTIFIER ::= { snmpV2 1 }
  208.  
  209.           -- to be removed later on...                                    +
  210.           -- { snmpV2 2 } is obsolete
  211.  
  212.           -- { snmpV2 3 } is obsolete
  213.  
  214.           -- to be renamed { snmpV2 2 }                                   +
  215.           -- module identities
  216.           snmpModules   OBJECT IDENTIFIER ::= { snmpV2 4 }
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.                               Expires June 22, 1993             [Page 4]
  234.  
  235.  
  236.  
  237.  
  238.  
  239.           Draft   Structure of Management Information for SNMPv2  Dec 92
  240.  
  241.  
  242.           -- definitions for information modules
  243.  
  244.           MODULE-IDENTITY MACRO ::=
  245.           BEGIN
  246.               TYPE NOTATION ::=
  247.                             "LAST-UPDATED" value(Update UTCTime)
  248.                             "ORGANIZATION" Text
  249.                             "CONTACT-INFO" Text
  250.                             "DESCRIPTION" Text
  251.                             RevisionPart
  252.  
  253.               VALUE NOTATION ::=
  254.                             value(VALUE OBJECT IDENTIFIER)
  255.  
  256.               RevisionPart ::=
  257.                             Revisions
  258.                           | empty
  259.               Revisions ::=
  260.                             Revision
  261.                           | Revisions Revision
  262.               Revision ::=
  263.                             "REVISION" value(Update UTCTime)
  264.                             "DESCRIPTION" Text
  265.  
  266.               -- uses the NVT ASCII character set
  267.               Text ::= """" string """"
  268.           END
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.                               Expires June 22, 1993             [Page 5]
  293.  
  294.  
  295.  
  296.  
  297.  
  298.           Draft   Structure of Management Information for SNMPv2  Dec 92
  299.  
  300.  
  301.           OBJECT-IDENTITY MACRO ::=
  302.           BEGIN
  303.               TYPE NOTATION ::=
  304.                             "STATUS" Status
  305.                             "DESCRIPTION" Text
  306.                             ReferPart
  307.  
  308.               VALUE NOTATION ::=
  309.                             value(VALUE OBJECT IDENTIFIER)
  310.  
  311.               Status ::=
  312.                             "current"
  313.                           | "obsolete"
  314.  
  315.               ReferPart ::=
  316.                           "REFERENCE" Text
  317.                         | empty
  318.  
  319.               Text ::= """" string """"
  320.           END
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.                               Expires June 22, 1993             [Page 6]
  352.  
  353.  
  354.  
  355.  
  356.  
  357.           Draft   Structure of Management Information for SNMPv2  Dec 92
  358.  
  359.  
  360.           -- names of objects
  361.  
  362.           ObjectName ::=
  363.               OBJECT IDENTIFIER
  364.  
  365.  
  366.           -- syntax of objects
  367.  
  368.           ObjectSyntax ::=
  369.               CHOICE {
  370.                   simple
  371.                       SimpleSyntax,
  372.  
  373.                     -- note that SEQUENCEs for conceptual tables and
  374.                     -- rows are not mentioned here...
  375.  
  376.                   application-wide
  377.                       ApplicationSyntax
  378.               }
  379.  
  380.  
  381.           -- built-in ASN.1 types
  382.  
  383.           SimpleSyntax ::=
  384.               CHOICE {
  385.                   -- INTEGERs with a more restrictive range
  386.                   -- may also be used
  387.                   integer-value
  388.                       INTEGER (-2147483648..2147483647),
  389.  
  390.                   string-value
  391.                       OCTET STRING,
  392.  
  393.                   objectID-value
  394.                       OBJECT IDENTIFIER,
  395.  
  396.                   -- only the enumerated form is allowed
  397.                   bit-value
  398.                       BIT STRING
  399.               }
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.                               Expires June 22, 1993             [Page 7]
  411.  
  412.  
  413.  
  414.  
  415.  
  416.           Draft   Structure of Management Information for SNMPv2  Dec 92
  417.  
  418.  
  419.           -- indistinguishable from INTEGER, but never needs more than
  420.           -- 32-bits for a two's complement representation
  421.           Integer32 ::=
  422.               [UNIVERSAL 2]
  423.                   IMPLICIT INTEGER (-2147483648..2147483647)
  424.  
  425.  
  426.           -- application-wide types
  427.  
  428.           ApplicationSyntax ::=
  429.               CHOICE {
  430.                   ipAddress-value
  431.                       IpAddress,
  432.  
  433.                   counter-value
  434.                       Counter32,
  435.  
  436.                   gauge-value
  437.                       Gauge32,
  438.  
  439.                   timeticks-value
  440.                       TimeTicks,
  441.  
  442.                   arbitrary-value
  443.                       Opaque,
  444.  
  445.                   nsapAddress-value
  446.                       NsapAddress,
  447.  
  448.                   big-counter-value
  449.                       Counter64,
  450.  
  451.                   unsigned-integer-value
  452.                       UInteger32
  453.               }
  454.  
  455.           -- in network-byte order
  456.           -- (this is a tagged type for historical reasons)
  457.           IpAddress ::=
  458.               [APPLICATION 0]
  459.                   IMPLICIT OCTET STRING (SIZE (4))
  460.  
  461.           -- this wraps
  462.           Counter32 ::=
  463.               [APPLICATION 1]
  464.  
  465.  
  466.  
  467.  
  468.  
  469.                               Expires June 22, 1993             [Page 8]
  470.  
  471.  
  472.  
  473.  
  474.  
  475.           Draft   Structure of Management Information for SNMPv2  Dec 92
  476.  
  477.  
  478.                   IMPLICIT INTEGER (0..4294967295)
  479.  
  480.           -- this doesn't wrap
  481.           Gauge32 ::=
  482.               [APPLICATION 2]
  483.                   IMPLICIT INTEGER (0..4294967295)
  484.  
  485.           -- hundredths of seconds since an epoch
  486.           TimeTicks ::=
  487.               [APPLICATION 3]
  488.                   IMPLICIT INTEGER (0..4294967295)
  489.  
  490.           -- for backward-compatibility only
  491.           Opaque ::=
  492.               [APPLICATION 4]
  493.                   IMPLICIT OCTET STRING
  494.  
  495.           -- for OSI NSAP addresses
  496.           -- (this is a tagged type for historical reasons)
  497.           NsapAddress ::=
  498.               [APPLICATION 5]
  499.                   IMPLICIT OCTET STRING (SIZE (1 | 4..21))
  500.  
  501.           -- for counters that wrap in less than one hour with only 32 bits
  502.           Counter64 ::=
  503.               [APPLICATION 6]
  504.                   IMPLICIT INTEGER (0..18446744073709551615)
  505.  
  506.           -- an unsigned 32-bit quantity
  507.           UInteger32 ::=
  508.               [APPLICATION 7]
  509.                   IMPLICIT INTEGER (0..4294967295)
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.                               Expires June 22, 1993             [Page 9]
  529.  
  530.  
  531.  
  532.  
  533.  
  534.           Draft   Structure of Management Information for SNMPv2  Dec 92
  535.  
  536.  
  537.           -- definition for objects
  538.  
  539.           OBJECT-TYPE MACRO ::=
  540.           BEGIN
  541.               TYPE NOTATION ::=
  542.                             "SYNTAX" type(Syntax)
  543.                             UnitsPart
  544.                             "MAX-ACCESS" Access
  545.                             "STATUS" Status
  546.                             "DESCRIPTION" Text
  547.                             ReferPart
  548.                             IndexPart
  549.                             DefValPart
  550.  
  551.               VALUE NOTATION ::=
  552.                             value(VALUE ObjectName)
  553.  
  554.               UnitsPart ::=
  555.                             "UNITS" Text
  556.                           | empty
  557.  
  558.               Access ::=
  559.                             "not-accessible"
  560.                           | "read-only"
  561.                           | "read-write"
  562.                           | "read-create"
  563.  
  564.               Status ::=
  565.                             "current"
  566.                           | "deprecated"
  567.                           | "obsolete"
  568.  
  569.               ReferPart ::=
  570.                             "REFERENCE" Text
  571.                           | empty
  572.  
  573.               IndexPart ::=
  574.                             "INDEX"    "{" IndexTypes "}"
  575.                           | "AUGMENTS" "{" Entry      "}"
  576.                           | empty
  577.               IndexTypes ::=
  578.                             IndexType
  579.                           | IndexTypes "," IndexType
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.                               Expires June 22, 1993            [Page 10]
  588.  
  589.  
  590.  
  591.  
  592.  
  593.           Draft   Structure of Management Information for SNMPv2  Dec 92
  594.  
  595.  
  596.               IndexType ::=
  597.                             "IMPLIED" Index
  598.                           | Index
  599.               Index ::=
  600.                               -- use the SYNTAX value of the
  601.                               -- correspondent OBJECT-TYPE invocation
  602.                             value(Indexobject ObjectName)
  603.               Entry ::=
  604.                               -- use the INDEX value of the
  605.                               -- correspondent OBJECT-TYPE invocation
  606.                             value(Entryobject ObjectName)
  607.  
  608.               DefValPart ::=
  609.                             "DEFVAL" "{" value(Defval Syntax) "}"
  610.                           | empty
  611.  
  612.               -- uses the NVT ASCII character set
  613.               Text ::= """" string """"
  614.           END
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.                               Expires June 22, 1993            [Page 11]
  647.  
  648.  
  649.  
  650.  
  651.  
  652.           Draft   Structure of Management Information for SNMPv2  Dec 92
  653.  
  654.  
  655.           -- definitions for notifications
  656.  
  657.           NOTIFICATION-TYPE MACRO ::=
  658.           BEGIN
  659.               TYPE NOTATION ::=
  660.                             ObjectsPart
  661.                             "STATUS" Status
  662.                             "DESCRIPTION" Text
  663.                             ReferPart
  664.  
  665.               VALUE NOTATION ::=
  666.                             value(VALUE OBJECT IDENTIFIER)
  667.  
  668.               ObjectsPart ::=
  669.                             "OBJECTS" "{" Objects "}"
  670.                           | empty
  671.               Objects ::=
  672.                             Object
  673.                           | Objects "," Object
  674.               Object ::=
  675.                             value(Name ObjectName)
  676.  
  677.               Status ::=
  678.                             "current"
  679.                           | "deprecated"
  680.                           | "obsolete"
  681.  
  682.               ReferPart ::=
  683.                           "REFERENCE" Text
  684.                         | empty
  685.  
  686.               -- uses the NVT ASCII character set
  687.               Text ::= """" string """"
  688.           END
  689.  
  690.  
  691.           END
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.                               Expires June 22, 1993            [Page 12]
  706.  
  707.  
  708.  
  709.  
  710.  
  711.           Draft   Structure of Management Information for SNMPv2  Dec 92
  712.  
  713.  
  714.           3.  Information Modules
  715.  
  716.           An "information module" is an ASN.1 module defining
  717.           information relating to network management.
  718.  
  719.           The SMI describes how to use a subset of ASN.1 to define an
  720.           information module.  Further, additional restrictions are
  721.           placed on "standard" information modules.  It is strongly
  722.           recommended that "enterprise-specific" information modules
  723.           also adhere to these restrictions.
  724.  
  725.           Typically, there are three kinds of information modules:
  726.  
  727.           (1)  MIB modules, which contain definitions of inter-related
  728.                managed objects, make use of the OBJECT-TYPE and
  729.                NOTIFICATION-TYPE macros;
  730.  
  731.           (2)  compliance statements for MIB modules, which make use of
  732.                the MODULE-COMPLIANCE and OBJECT-GROUP macros [2]; and,
  733.  
  734.           (3)  capability statements for agent implementations which
  735.                make use of the AGENT-CAPABILITIES macros [2].
  736.  
  737.           This classification scheme does not imply a rigid taxonomy.
  738.           For example, a "standard" information module might include
  739.           definitions of managed objects and a compliance statement.
  740.           Similarly, an "enterprise-specific" information module might
  741.           include definitions of managed objects and a capability
  742.           statement.  Of course, a "standard" information module may not
  743.           contain capability statements.
  744.  
  745.           All information modules start with exactly one invocation of
  746.           the MODULE-IDENTITY macro, which provides contact and revision
  747.           history.  This invocation must appear immediately after any
  748.           IMPORTs or EXPORTs statements.
  749.  
  750.  
  751.           3.1.  Macro Invocation
  752.  
  753.           Within an information module, each macro invocation appears
  754.           as:
  755.  
  756.                <descriptor> <macro> <clauses> ::= <value>
  757.  
  758.           where <descriptor> corresponds to an ASN.1 identifier, <macro>
  759.  
  760.  
  761.  
  762.  
  763.  
  764.                               Expires June 22, 1993            [Page 13]
  765.  
  766.  
  767.  
  768.  
  769.  
  770.           Draft   Structure of Management Information for SNMPv2  Dec 92
  771.  
  772.  
  773.           names the macro being invoked, and <clauses> and <value>
  774.           depend on the definition of the macro.
  775.  
  776.           An ASN.1 identifier consists of one or more letters, digits,
  777.           or hyphens.  The initial character must be a lower-case
  778.           letter, and the final character may not be a hyphen.  Further,
  779.           a hyphen may not be immediatedly followed by another hyphen.
  780.  
  781.           For all descriptors appearing in an information module, the
  782.           descriptor shall be unique and mnemonic, and shall not exceed
  783.           64 characters in length.  This promotes a common language for
  784.           humans to use when discussing the information module and also
  785.           facilitates simple table mappings for user-interfaces.
  786.  
  787.           The set of descriptors defined in all "standard" information
  788.           modules shall be unique.  Further, within any information
  789.           module, the hyphen is not allowed as a character in any
  790.           descriptor.
  791.  
  792.           Finally, by convention, if the descriptor refers to an object
  793.           with a SYNTAX clause value of either Counter32 or Counter64,
  794.           then the descriptor used for the object should denote
  795.           plurality.
  796.  
  797.  
  798.           3.1.1.  Textual Clauses
  799.  
  800.           Some clauses in a macro invocation may take a textual value
  801.           (e.g., the DESCRIPTION clause).  Note that, in order to
  802.           conform to the ASN.1 syntax, the entire value of these clauses
  803.           must be enclosed in double quotation marks, and therefore
  804.           cannot itself contain double quotation marks, although the
  805.           value may be multi-line.
  806.  
  807.  
  808.           3.2.  IMPORTing Symbols
  809.  
  810.           To reference an external object, the IMPORTS statement must be
  811.           used to identify both the descriptor and the module defining
  812.           the descriptor.
  813.  
  814.           Note that when symbols from "enterprise-specific" information
  815.           modules are referenced  (e.g., a descriptor), there is the
  816.           possibility of collision.  As such, if different objects with
  817.           the same descriptor are IMPORTed, then this ambiguity is
  818.  
  819.  
  820.  
  821.  
  822.  
  823.                               Expires June 22, 1993            [Page 14]
  824.  
  825.  
  826.  
  827.  
  828.  
  829.           Draft   Structure of Management Information for SNMPv2  Dec 92
  830.  
  831.  
  832.           resolved by prefixing the descriptor with the name of the
  833.           information module and a dot ("."), i.e.,
  834.  
  835.                "module.descriptor"
  836.  
  837.           (All descriptors  must be unique within any information
  838.           module.)
  839.  
  840.           Of course, this notation can be used even when there is no
  841.           collision when IMPORTing symbols.
  842.  
  843.           Finally, the IMPORTS statement may not be used to import an
  844.           ASN.1 named type which corresponds to either the SEQUENCE or
  845.           SEQUENCE OF type.
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.                               Expires June 22, 1993            [Page 15]
  883.  
  884.  
  885.  
  886.  
  887.  
  888.           Draft   Structure of Management Information for SNMPv2  Dec 92
  889.  
  890.  
  891.           4.  Naming Hierarchy
  892.  
  893.           The root of the subtree administered by the Internet Assigned
  894.           Numbers Authority (IANA) for the Internet is:
  895.  
  896.                internet    OBJECT IDENTIFIER ::= { iso org(3) dod(6) 1 }
  897.  
  898.           That is, the Internet subtree of OBJECT IDENTIFIERs starts
  899.           with the prefix:
  900.  
  901.                1.3.6.1.
  902.  
  903.           Several branches underneath this subtree are used for network
  904.           management:
  905.  
  906.                mgmt          OBJECT IDENTIFIER ::= { internet 2 }
  907.                experimental  OBJECT IDENTIFIER ::= { internet 3 }
  908.                private       OBJECT IDENTIFIER ::= { internet 4 }
  909.                enterprises   OBJECT IDENTIFIER ::= { private 1 }
  910.  
  911.           However, the SMI does not prohibit the definition of objects
  912.           in other portions of the object tree.
  913.  
  914.           The mgmt(2) subtree is used to identify "standard" objects.
  915.  
  916.           The experimental(3) subtree is used to identify objects being
  917.           designed by working groups of the IETF.  If an information
  918.           module produced by a working group becomes a "standard"
  919.           information module, then at the very beginning of its entry
  920.           onto the Internet standards track, the objects are moved under
  921.           the mgmt(2) subtree.
  922.  
  923.           The private(4) subtree is used to identify objects defined
  924.           unilaterally.  The enterprises(1) subtree beneath private is
  925.           used, among other things, to permit providers of networking
  926.           subsystems to register models of their products.
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.                               Expires June 22, 1993            [Page 16]
  942.  
  943.  
  944.  
  945.  
  946.  
  947.           Draft   Structure of Management Information for SNMPv2  Dec 92
  948.  
  949.  
  950.           5.  Mapping of the MODULE-IDENTITY macro
  951.  
  952.           The MODULE-IDENTITY macro is used to provide contact and
  953.           revision history for each information module.  It must appear
  954.           exactly once in every information module.  It should be noted
  955.           that the expansion of the MODULE-IDENTITY macro is something
  956.           which conceptually happens during implementation and not
  957.           during run-time.
  958.  
  959.  
  960.           5.1.  Mapping of the LAST-UPDATED clause
  961.  
  962.           The LAST-UPDATED clause, which must be present, contains the
  963.           date and time that this information module was last edited.
  964.  
  965.  
  966.           5.2.  Mapping of the ORGANIZATION clause
  967.  
  968.           The ORGANIZATION clause, which must be present, contains a
  969.           textual description of the organization under whose auspices
  970.           this information module was developed.
  971.  
  972.  
  973.           5.3.  Mapping of the CONTACT-INFO clause
  974.  
  975.           The CONTACT-INFO clause, which must be present, contains the
  976.           name, postal address, telephone number, and electronic mail
  977.           address of the person to whom technical queries concerning
  978.           this information module should be sent.
  979.  
  980.  
  981.           5.4.  Mapping of the DESCRIPTION clause
  982.  
  983.           The DESCRIPTION clause, which must be present, contains a
  984.           high-level textual description of the contents of this
  985.           information module.
  986.  
  987.  
  988.           5.5.  Mapping of the REVISION clause
  989.  
  990.           The REVISION clause, which need not be present, is repeatedly
  991.           used to describe the revisions made to this information
  992.           module, in reverse chronological order.  Each instance of this
  993.           clause contains the date and time of the revision.
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.                               Expires June 22, 1993            [Page 17]
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.           Draft   Structure of Management Information for SNMPv2  Dec 92
  1007.  
  1008.  
  1009.           5.6.  Mapping of the DESCRIPTION clause
  1010.  
  1011.           The DESCRIPTION clause, which must be present for each
  1012.           REVISION clause, contains a high-level textual description of
  1013.           the revision identified in that REVISION clause.
  1014.  
  1015.  
  1016.           5.7.  Mapping of the MODULE-IDENTITY value
  1017.  
  1018.           The value of an invocation of the MODULE-IDENTITY macro is an
  1019.           OBJECT IDENTIFIER.  As such, this value may be authoritatively
  1020.           used when referring to the information module containing the
  1021.           invocation.
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.                               Expires June 22, 1993            [Page 18]
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.           Draft   Structure of Management Information for SNMPv2  Dec 92
  1066.  
  1067.  
  1068.           5.8.  Usage Example
  1069.  
  1070.           Consider how a skeletal MIB module might be constructed: e.g.,
  1071.  
  1072.           FIZBIN-MIB DEFINITIONS ::= BEGIN                                -
  1073.  
  1074.           IMPORTS
  1075.               MODULE-IDENTITY, OBJECT-TYPE, experimental
  1076.                   FROM SNMPv2-SMI;
  1077.  
  1078.  
  1079.           fizbin MODULE-IDENTITY
  1080.               LAST-UPDATED "9210070433Z"
  1081.               ORGANIZATION "IETF SNMPv2 Working Group"
  1082.               CONTACT-INFO
  1083.                       "        Marshall T. Rose
  1084.  
  1085.                        Postal: Dover Beach Consulting, Inc.
  1086.                                420 Whisman Court
  1087.                                Mountain View, CA  94043-2186
  1088.                                US
  1089.  
  1090.                           Tel: +1 415 968 1052
  1091.                           Fax: +1 415 968 2510
  1092.  
  1093.                        E-mail: mrose@dbc.mtview.ca.us"
  1094.               DESCRIPTION
  1095.                       "The MIB module for entities implementing the xxxx
  1096.                       protocol."
  1097.               REVISION      "9210070433Z"
  1098.               DESCRIPTION
  1099.                       "Initial version of this MIB module."
  1100.           -- contact IANA for actual number
  1101.               ::= { experimental xx }
  1102.  
  1103.  
  1104.           END
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.                               Expires June 22, 1993            [Page 19]
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.           Draft   Structure of Management Information for SNMPv2  Dec 92
  1125.  
  1126.  
  1127.           6.  Mapping of the OBJECT-IDENTITY macro
  1128.  
  1129.           The OBJECT-IDENTITY macro is used to define information about
  1130.           an OBJECT IDENTIFIER assignment.  It should be noted that the
  1131.           expansion of the OBJECT-IDENTITY macro is something which
  1132.           conceptually happens during implementation and not during
  1133.           run-time.
  1134.  
  1135.  
  1136.           6.1.  Mapping of the STATUS clause
  1137.  
  1138.           The STATUS clause, which must be present, indicates whether
  1139.           this definition is current or historic.
  1140.  
  1141.           The values "current", and "obsolete" are self-explanatory.
  1142.  
  1143.  
  1144.           6.2.  Mapping of the DESCRIPTION clause
  1145.  
  1146.           The DESCRIPTION clause, which must be present, contains a
  1147.           textual description of the object assignment.
  1148.  
  1149.  
  1150.           6.3.  Mapping of the REFERENCE clause
  1151.  
  1152.           The REFERENCE clause, which need not be present, contains a
  1153.           textual cross-reference to an object assignment defined in
  1154.           some other information module.
  1155.  
  1156.  
  1157.           6.4.  Mapping of the OBJECT-IDENTITY value
  1158.  
  1159.           The value of an invocation of the OBJECT-IDENTITY macro is an
  1160.           OBJECT IDENTIFIER.
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.                               Expires June 22, 1993            [Page 20]
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.           Draft   Structure of Management Information for SNMPv2  Dec 92
  1184.  
  1185.  
  1186.           6.5.  Usage Example
  1187.  
  1188.           Consider how an OBJECT IDENTIFIER assignment might be made:
  1189.           e.g.,
  1190.  
  1191.           fizbin69 OBJECT-IDENTITY                                        |
  1192.               STATUS  current
  1193.               DESCRIPTION
  1194.                       "The authoritiative identity of the Fizbin 69
  1195.                       chipset."
  1196.               ::= { fizbinChipSets 1 }
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.                               Expires June 22, 1993            [Page 21]
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.           Draft   Structure of Management Information for SNMPv2  Dec 92
  1243.  
  1244.  
  1245.           7.  Mapping of the OBJECT-TYPE macro
  1246.  
  1247.           The OBJECT-TYPE macro is used to define a managed object.  It
  1248.           should be noted that the expansion of the OBJECT-TYPE macro is
  1249.           something which conceptually happens during implementation and
  1250.           not during run-time.
  1251.  
  1252.  
  1253.           7.1.  Mapping of the SYNTAX clause
  1254.  
  1255.           The SYNTAX clause, which must be present, defines the abstract
  1256.           data structure corresponding to that object.  The data
  1257.           structure must be one of the alternatives defined in the
  1258.           ObjectSyntax CHOICE.
  1259.  
  1260.           Full ASN.1 sub-typing is allowed, as appropriate to the
  1261.           underingly ASN.1 type, primarily as an aid to implementors in
  1262.           understanding the meaning of the object.  Any such restriction
  1263.           on size, range, enumerations or repertoire specified in this
  1264.           clause represents the maximal level of support which makes
  1265.           "protocol sense".  Of course, sub-typing is not allowed for
  1266.           the Counter32 or Counter64 types, but is allowed for the
  1267.           Gauge32 type.
  1268.  
  1269.           The semantics of ObjectSyntax are now described.
  1270.  
  1271.  
  1272.           7.1.1.  Integer32 and INTEGER
  1273.  
  1274.           The Integer32 type represents integer-valued information
  1275.           between -2^31 and 2^31-1 inclusive (-2147483648 to 2147483647
  1276.           decimal).  This type is indistinguishable from the INTEGER
  1277.           type.
  1278.  
  1279.           The INTEGER type may also be used to represent integer-valued
  1280.           information, if it contains named-number enumerations, or if
  1281.           it is sub-typed to be more constrained than the Integer32
  1282.           type.  In the former case, only those named-numbers so
  1283.           enumerated may be present as a value.  Note that although it
  1284.           is recommended that enumerated values start at 1 and be
  1285.           numbered contiguously, any valid value for Integer32 is
  1286.           allowed for an enumerated value and that enumerated values
  1287.           needn't be contiguously assigned.
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.                               Expires June 22, 1993            [Page 22]
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.           Draft   Structure of Management Information for SNMPv2  Dec 92
  1302.  
  1303.  
  1304.           Finally, the hyphen character is not allowed as a part of the
  1305.           label name for any named-number enumeration.
  1306.  
  1307.  
  1308.           7.1.2.  OCTET STRING
  1309.  
  1310.           The OCTET STRING type represents arbitrary binary or textual
  1311.           data.  Although there is no SMI-specified size limitation for
  1312.           this type, MIB designers should realize that there may be
  1313.           implementation and interoperability limitations for sizes in
  1314.           excess of 255 octets.
  1315.  
  1316.  
  1317.           7.1.3.  OBJECT IDENTIFIER
  1318.  
  1319.           The OBJECT IDENTIFIER type represents administratively
  1320.           assigned names.  Any instance of this type may have at most
  1321.           128 sub-identifiers.  Further, each sub-identifier must not
  1322.           exceed the value 2^32-1 (4294967295 decimal).
  1323.  
  1324.  
  1325.           7.1.4.  BIT STRING
  1326.  
  1327.           The BIT STRING type represents an enumeration of named bits.
  1328.           This collection is assigned non-negative, contiguous values,
  1329.           starting at zero.  Only those named-bits so enumerated may be
  1330.           present in a value.
  1331.  
  1332.           A requirement on "standard" MIB modules is that the hyphen
  1333.           character is not allowed as a part of the label name for any
  1334.           named-bit enumeration.
  1335.  
  1336.  
  1337.           7.1.5.  IpAddress
  1338.  
  1339.           The IpAddress type represents a 32-bit internet address.  It
  1340.           is represented as an OCTET STRING of length 4, in network
  1341.           byte-order.
  1342.  
  1343.           Note that the IpAddress type is a tagged type for historical
  1344.           reasons.  Network addresses should be represented using an
  1345.           invocation of the TEXTUAL-CONVENTION macro [3].
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.                               Expires June 22, 1993            [Page 23]
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.           Draft   Structure of Management Information for SNMPv2  Dec 92
  1361.  
  1362.  
  1363.           7.1.6.  Counter32
  1364.  
  1365.           The Counter32 type represents a non-negative integer which
  1366.           monotonically increases until it reaches a maximum value of
  1367.           2^32-1 (4294967295 decimal), when it wraps around and starts
  1368.           increasing again from zero.
  1369.  
  1370.           Counters have no defined "initial" value, and thus, a single
  1371.           value of a Counter has (in general) no information content.
  1372.           Discontinuities in the monotonically increasing value normally
  1373.           occur at re-initialization of the management system, and at
  1374.           other times as specified in the description of an object-type
  1375.           using this ASN.1 type.  If such other times can occur, for
  1376.           example, the creation of an object instance at times other
  1377.           than re-initialization, then a corresponding object should be
  1378.           defined with a SYNTAX clause value of TimeStamp (a textual
  1379.           convention defined in [3]) indicating the time of the last
  1380.           discontinuity.
  1381.  
  1382.           The value of the MAX-ACCESS clause for objects with a SYNTAX
  1383.           clause value of Counter32 is always "read-only".
  1384.  
  1385.           A DEFVAL clause is not allowed for objects with a SYNTAX
  1386.           clause value of Counter32.
  1387.  
  1388.  
  1389.           7.1.7.  Gauge32
  1390.  
  1391.           The Gauge32 type represents a non-negative integer, which may
  1392.           increase or decrease, but shall never exceed a maximum value.
  1393.           The maximum value can not be greater than 2^32-1 (4294967295
  1394.           decimal).  The value of a Gauge has its maximum value whenever
  1395.           the information being modeled is greater or equal to that
  1396.           maximum value; if the information being modeled subsequently
  1397.           decreases below the maximum value, the Gauge also decreases.
  1398.  
  1399.  
  1400.           7.1.8.  TimeTicks
  1401.  
  1402.           The TimeTicks type represents a non-negative integer which
  1403.           represents the time, modulo 2^32 (4294967296 decimal), in
  1404.           hundredths of a second between two epochs.  When objects are
  1405.           defined which use this ASN.1 type, the description of the
  1406.           object identifies both of the reference epochs.
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.                               Expires June 22, 1993            [Page 24]
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.           Draft   Structure of Management Information for SNMPv2  Dec 92
  1420.  
  1421.  
  1422.           For example, [3] defines the TimeStamp textual convention
  1423.           which is based on the TimeTicks type.  With a TimeStamp, the
  1424.           first reference epoch is defined as when MIB-II's sysUpTime
  1425.           [7] was zero, and the second reference epoch is defined as the
  1426.           current value of sysUpTime.
  1427.  
  1428.  
  1429.           7.1.9.  Opaque
  1430.  
  1431.           The Opaque type is provided solely for backward-compatibility,
  1432.           and shall not be used for newly-defined object types.
  1433.  
  1434.           The Opaque type supports the capability to pass arbitrary
  1435.           ASN.1 syntax.  A value is encoded using the ASN.1 Basic
  1436.           Encoding Rules [4] into a string of octets.  This, in turn, is
  1437.           encoded as an OCTET STRING, in effect "double-wrapping" the
  1438.           original ASN.1 value.
  1439.  
  1440.           Note that a conforming implementation need only be able to
  1441.           accept and recognize opaquely-encoded data.  It need not be
  1442.           able to unwrap the data and then interpret its contents.
  1443.  
  1444.           A requirement on "standard" MIB modules is that no object may
  1445.           have a SYNTAX clause value of Opaque.
  1446.  
  1447.  
  1448.           7.1.10.  NsapAddress
  1449.  
  1450.           The NsapAddress type represents an OSI address as a variable-
  1451.           length OCTET STRING.  The first octet of the string contains a
  1452.           binary value in the range of 0..20, and indicates the length
  1453.           in octets of the NSAP.  Following the first octet, is the
  1454.           NSAP, expressed in concrete binary notation, starting with the
  1455.           most significant octet.  A zero-length NSAP is used as a
  1456.           "special" address meaning "the default NSAP" (analogous to the
  1457.           IP address of 0.0.0.0).  Such an NSAP is encoded as a single
  1458.           octet, containing the value 0.  All other NSAPs are encoded in
  1459.           at least 4 octets.
  1460.  
  1461.           Note that the NsapAddress type is a tagged type for historical
  1462.           reasons.  Network addresses should be represented using an
  1463.           invocation of the TEXTUAL-CONVENTION macro [3].
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.                               Expires June 22, 1993            [Page 25]
  1473.  
  1474.  
  1475.  
  1476.  
  1477.  
  1478.           Draft   Structure of Management Information for SNMPv2  Dec 92
  1479.  
  1480.  
  1481.           7.1.11.  Counter64
  1482.  
  1483.           The Counter64 type represents a non-negative integer which
  1484.           monotonically increases until it reaches a maximum value of
  1485.           2^64-1 (18446744073709551615 decimal), when it wraps around
  1486.           and starts increasing again from zero.
  1487.  
  1488.           Counters have no defined "initial" value, and thus, a single
  1489.           value of a Counter has (in general) no information content.
  1490.           Discontinuities in the monotonically increasing value normally
  1491.           occur at re-initialization of the management system, and at
  1492.           other times as specified in the description of an object-type
  1493.           using this ASN.1 type.  If such other times can occur, for
  1494.           example, the creation of an object instance at times other
  1495.           than re-initialization, then a corresponding object should be
  1496.           defined with a SYNTAX clause value of TimeStamp (a textual
  1497.           convention defined in [3]) indicating the time of the last
  1498.           discontinuity.
  1499.  
  1500.           The value of the MAX-ACCESS clause for objects with a SYNTAX
  1501.           clause value of Counter64 is always "read-only".
  1502.  
  1503.           A requirement on "standard" MIB modules is that the Counter64
  1504.           type may be used only if the information being modeled would
  1505.           wrap in less than one hour if the Counter32 type was used
  1506.           instead.
  1507.  
  1508.           A DEFVAL clause is not allowed for objects with a SYNTAX
  1509.           clause value of Counter64.
  1510.  
  1511.  
  1512.           7.1.12.  UInteger32
  1513.  
  1514.           The UInteger32 type represents integer-valued information
  1515.           between 0 and 2^32-1 inclusive (0 to 4294967295 decimal).
  1516.  
  1517.  
  1518.           7.2.  Mapping of the UNITS clause
  1519.  
  1520.           This UNITS clause, which need not be present, contains a
  1521.           textual definition of the units associated with that object.
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.                               Expires June 22, 1993            [Page 26]
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.           Draft   Structure of Management Information for SNMPv2  Dec 92
  1538.  
  1539.  
  1540.           7.3.  Mapping of the MAX-ACCESS clause
  1541.  
  1542.           The MAX-ACCESS clause, which must be present, defines whether
  1543.           it makes "protocol sense" to read, write and/or create an
  1544.           instance of the object.  This is the maximal level of access
  1545.           for the object.  (This maximal level of access is independent
  1546.           of any administrative authorization policy.)
  1547.  
  1548.           The value "read-write" indicates that read and write access
  1549.           make "protocol sense", but create does not.  The value "read-
  1550.           create" indicates that read, write and create access make
  1551.           "protocol sense".  The value "not-accessible" indicates either
  1552.           an auxiliary object (see Section 7.7) or an object which is
  1553.           accessible only via a notificationn (e.g., snmpTrapOID [5]).
  1554.  
  1555.           These values are ordered, from least to greatest: "not-
  1556.           accessible", "read-only", "read-write", "read-create".
  1557.  
  1558.           If any columnar object in a conceptual row has "read-create"
  1559.           as its maximal level of access, then no other columnar object
  1560.           of the same conceptual row may have a maximal access of
  1561.           "read-write".  (Note that "read-create" is a superset of
  1562.           "read-write".)
  1563.  
  1564.  
  1565.           7.4.  Mapping of the STATUS clause
  1566.  
  1567.           The STATUS clause, which must be present, indicates whether
  1568.           this definition is current or historic.
  1569.  
  1570.           The values "current", and "obsolete" are self-explanatory.
  1571.           The "deprecated" value indicates that the object is obsolete,
  1572.           but that an implementor may wish to support that object to
  1573.           foster interoperability with older implementations.
  1574.  
  1575.  
  1576.           7.5.  Mapping of the DESCRIPTION clause
  1577.  
  1578.           The DESCRIPTION clause, which must be present, contains a
  1579.           textual definition of that object which provides all semantic
  1580.           definitions necessary for implementation, and should embody
  1581.           any information which would otherwise be communicated in any
  1582.           ASN.1 commentary annotations associated with the object.
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.                               Expires June 22, 1993            [Page 27]
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.           Draft   Structure of Management Information for SNMPv2  Dec 92
  1597.  
  1598.  
  1599.           7.6.  Mapping of the REFERENCE clause
  1600.  
  1601.           The REFERENCE clause, which need not be present, contains a
  1602.           textual cross-reference to an object defined in some other
  1603.           information module.  This is useful when de-osifying a MIB
  1604.           module produced by some other organization.
  1605.  
  1606.  
  1607.           7.7.  Mapping of the INDEX clause
  1608.  
  1609.           The INDEX clause, which must be present if that object
  1610.           corresponds to a conceptual row (unless an AUGMENTS clause is
  1611.           present instead), and must be absent otherwise, defines
  1612.           instance identification information for the columnar objects
  1613.           subordinate to that object.
  1614.  
  1615.           Management operations apply exclusively to scalar objects.
  1616.           However, it is convenient for developers of management
  1617.           applications to impose imaginary, tabular structures on the
  1618.           ordered collection of objects that constitute the MIB.  Each
  1619.           such conceptual table contains zero or more rows, and each row
  1620.           may contain one or more scalar objects, termed columnar
  1621.           objects.  This conceptualization is formalized by using the
  1622.           OBJECT-TYPE macro to define both an object which corresponds
  1623.           to a table and an object which corresponds to a row in that
  1624.           table.  A conceptual table has SYNTAX of the form:
  1625.  
  1626.                SEQUENCE OF <EntryType>
  1627.  
  1628.           where <EntryType> refers to the SEQUENCE type of its
  1629.           subordinate conceptual row.  A conceptual row has SYNTAX of
  1630.           the form:
  1631.  
  1632.                <EntryType>
  1633.  
  1634.           where <EntryType> is a SEQUENCE type defined as follows:
  1635.  
  1636.                <EntryType> ::= SEQUENCE { <type1>, ... , <typeN> }
  1637.  
  1638.           where there is one <type> for each subordinate object, and
  1639.           each <type> is of the form:
  1640.  
  1641.                <descriptor> <syntax>
  1642.  
  1643.           where <descriptor> is the descriptor naming a subordinate
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.                               Expires June 22, 1993            [Page 28]
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.           Draft   Structure of Management Information for SNMPv2  Dec 92
  1656.  
  1657.  
  1658.           object, and <syntax> has the value of that subordinate
  1659.           object's SYNTAX clause, optionally omitting the sub-typing
  1660.           information.  Further, these ASN.1 types are always present
  1661.           (the DEFAULT and OPTIONAL clauses are disallowed in the
  1662.           SEQUENCE definition).  The MAX-ACCESS clause for conceptual
  1663.           tables and rows is "not-accessible".
  1664.  
  1665.           For leaf objects which are not columnar objects, instances of
  1666.           the object are identified by appending a sub-identifier of
  1667.           zero to the name of that object.  Otherwise, the INDEX clause
  1668.           of the conceptual row object superior to a columnar object
  1669.           defines instance identification information.
  1670.  
  1671.           The instance identification information in an INDEX clause
  1672.           must specify object(s) such that value(s) of those object(s)
  1673.           will unambiguously distinguish a conceptual row.  The syntax
  1674.           of those objects indicate how to form the instance-identifier:
  1675.  
  1676.           (1)  integer-valued: a single sub-identifier taking the
  1677.                integer value (this works only for non-negative
  1678.                integers);
  1679.  
  1680.           (2)  string-valued, fixed-length strings (or variable-length
  1681.                preceded by the IMPLIED keyword): `n' sub-identifiers,
  1682.                where `n' is the length of the string (each octet of the
  1683.                string is encoded in a separate sub-identifier);
  1684.  
  1685.           (3)  string-valued, variable-length strings (not preceded by
  1686.                the IMPLIED keyword): `n+1' sub-identifiers, where `n' is
  1687.                the length of the string (the first sub-identifier is `n'
  1688.                itself, following this, each octet of the string is
  1689.                encoded in a separate sub-identifier);
  1690.  
  1691.           (4)  object identifier-valued: `n+1' sub-identifiers, where
  1692.                `n' is the number of sub-identifiers in the value (the
  1693.                first sub-identifier is `n' itself, following this, each
  1694.                sub-identifier in the value is copied);
  1695.  
  1696.           (5)  IpAddress-valued: 4 sub-identifiers, in the familiar
  1697.                a.b.c.d notation.
  1698.  
  1699.           (6)  NsapAddress-valued: `n' sub-identifiers, where `n' is the
  1700.                length of the value (each octet of the value is encoded
  1701.                in a separate sub-identifier);
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.                               Expires June 22, 1993            [Page 29]
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.           Draft   Structure of Management Information for SNMPv2  Dec 92
  1715.  
  1716.  
  1717.           Note that the IMPLIED keyword can only be present for objects
  1718.           having a variable-length syntax (e.g., variable-length strings
  1719.           or object identifier-valued objects).  Further, the IMPLIED
  1720.           keyword may appear at most once within the INDEX clause, and
  1721.           if so, is associated with the right-most object having a
  1722.           variable-length syntax.
  1723.  
  1724.           Instances identified by use of integer-valued objects should
  1725.           be numbered starting from one (i.e., not from zero).  The use
  1726.           of zero as a value for an integer-valued index object should
  1727.           be avoided, except in special cases.
  1728.  
  1729.           Objects which are both specified in the INDEX clause of a
  1730.           conceptual row and also columnar objects of the same
  1731.           conceptual row are termed auxiliary objects.  The MAX-ACCESS
  1732.           clause for newly-defined auxiliary objects is "not-
  1733.           accessible".  However, a conceptual row must contain at least
  1734.           one columnar object which is not an auxiliary object (i.e.,
  1735.           the value of the MAX-ACCESS clause for such an object is
  1736.           either "read-only" or "read-create").
  1737.  
  1738.           Note that objects specified in a conceptual row's INDEX clause
  1739.           need not be columnar objects of that conceptual row.  In this
  1740.           situation, the DESCRIPTION clause of the conceptual row must
  1741.           include a textual explanation of how the objects which are
  1742.           included in the INDEX clause but not columnar objects of that
  1743.           conceptual row, are used in uniquely identifying instances of
  1744.           the conceptual row's columnar objects.
  1745.  
  1746.  
  1747.           7.7.1.  Creation and Deletion of Conceptual Rows
  1748.  
  1749.           For newly-defined conceptual rows which allow the creation of
  1750.           new object instances and the deletion of existing object
  1751.           instances, there should be one columnar object with a SYNTAX
  1752.           clause value of RowStatus (a textual convention defined in
  1753.           [3]) and a MAX-ACCESS clause value of read-create.  By
  1754.           convention, this is termed the status column for the
  1755.           conceptual row.
  1756.  
  1757.  
  1758.           7.8.  Mapping of the AUGMENTS clause
  1759.  
  1760.           The AUGMENTS clause, which must not be present unless the
  1761.           object corresponds to a conceptual row, is an alternative to
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.                               Expires June 22, 1993            [Page 30]
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.           Draft   Structure of Management Information for SNMPv2  Dec 92
  1774.  
  1775.  
  1776.           the INDEX clause.  Every object corresponding to a conceptual
  1777.           row has either an INDEX clause or an AUGMENTS clause.
  1778.  
  1779.           If an object corresponding to a conceptual row has an INDEX
  1780.           clause, that row is termed a base conceptual row;
  1781.           alternatively, if the object has an AUGMENTS clause, the row
  1782.           is said to be a conceptual row augmentation, where the
  1783.           AUGMENTS clause names the object corresponding to the base
  1784.           conceptual row which is augmented by this conceptual row
  1785.           extension.  Instances of subordinate columnar objects of a
  1786.           conceptual row extension are identified according to the INDEX
  1787.           clause of the base conceptual row corresponding to the object
  1788.           named in the AUGMENTS clause.  Further, instances of
  1789.           subordinate columnar objects of a conceptual row extension
  1790.           exist according to the same semantics as instances of
  1791.           subordinate columnar objects of the base conceptual row being
  1792.           augmented.  As such, note that creation of a base conceptual
  1793.           row implies the correspondent creation of any conceptual row
  1794.           augmentations.
  1795.  
  1796.           For example, a MIB designer might wish to define additional
  1797.           columns in an "enterprise-specific" MIB which logically extend
  1798.           a conceptual row in a "standard" MIB.  The "standard" MIB
  1799.           definition of the conceptual row would include the INDEX
  1800.           clause and the "enterprise-specific" MIB would contain the
  1801.           definition of a conceptual row using the AUGMENTS clause.
  1802.  
  1803.           Note that a base conceptual row may be augmented by multiple
  1804.           conceptual row extensions.
  1805.  
  1806.  
  1807.           7.8.1.  Relation between INDEX and AUGMENTS clauses
  1808.  
  1809.           When defining instance identification information for a
  1810.           conceptual table:
  1811.  
  1812.           (1)  If there is a one-to-one correspondence between the
  1813.                conceptual rows of this table and an existing table, then
  1814.                the AUGMENTS clause should be used.
  1815.  
  1816.           (2)  Otherwise, if there is a sparse relationship between the
  1817.                conceptuals rows of this table and an existing table,
  1818.                then an INDEX clause should be used which is identical to
  1819.                that in the existing table.
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.                               Expires June 22, 1993            [Page 31]
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.           Draft   Structure of Management Information for SNMPv2  Dec 92
  1833.  
  1834.  
  1835.           (3)  Otherwise, auxiliary objects should be defined within the
  1836.                conceptual row for the new table, and those objects
  1837.                should be used within the INDEX clause for the conceptual
  1838.                row.
  1839.  
  1840.  
  1841.           7.9.  Mapping of the DEFVAL clause
  1842.  
  1843.           The DEFVAL clause, which need not be present, defines an
  1844.           acceptable default value which may be used at the discretion
  1845.           of a SNMPv2 entity acting in an agent role when an object
  1846.           instance is created.
  1847.  
  1848.           During conceptual row creation, if an instance of a columnar
  1849.           object is not present as one of the operands in the
  1850.           correspondent management protocol set operation, then the
  1851.           value of the DEFVAL clause, if present, indicates an
  1852.           acceptable default value that a SNMPv2 entity acting in an
  1853.           agent role might use.
  1854.  
  1855.           The value of the DEFVAL clause must, of course, correspond to
  1856.           the SYNTAX clause for the object.  If the value is an OBJECT
  1857.           IDENTIFIER, then it must be expressed as a single ASN.1
  1858.           identifier, and not as a collection of sub-identifiers.
  1859.  
  1860.           Note that if an operand to the management protocol set
  1861.           operation is an instance of a read-only object, then the error
  1862.           `notWritable' [6] will be returned.  As such, the DEFVAL
  1863.           clause can be used to provide an acceptable default value that
  1864.           a SNMPv2 entity acting in an agent role might use.
  1865.  
  1866.           By way of example, consider the following possible DEFVAL
  1867.           clauses:
  1868.  
  1869.                ObjectSyntax        DEFVAL clause
  1870.                -----------------   ------------
  1871.                Integer32           1
  1872.                                    -- same for Gauge32, TimeTicks, UInteger32
  1873.                INTEGER             valid -- enumerated value
  1874.                OCTET STRING        'ffffffffffff'H
  1875.                OBJECT IDENTIFIER   sysDescr
  1876.                BIT STRING          { primary, secondary } -- enumerated values
  1877.                IpAddress           'c0210415'H -- 192.33.4.21
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.                               Expires June 22, 1993            [Page 32]
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.           Draft   Structure of Management Information for SNMPv2  Dec 92
  1892.  
  1893.  
  1894.           Object types with SYNTAX of Counter32 and Counter64 may not
  1895.           have DEFVAL clauses, since they do not have defined initial
  1896.           values.  However, it is recommended that they be initialized
  1897.           to zero.
  1898.  
  1899.  
  1900.           7.10.  Mapping of the OBJECT-TYPE value
  1901.  
  1902.           The value of an invocation of the OBJECT-TYPE macro is the
  1903.           name of the object, which is an OBJECT IDENTIFIER, an
  1904.           administratively assigned name.
  1905.  
  1906.           When an OBJECT IDENTIFIER is assigned to an object:
  1907.  
  1908.           (1)  If the object corresponds to a conceptual table, then
  1909.                only a single assignment, that for a conceptual row, is
  1910.                present immediately beneath that object.  The
  1911.                administratively assigned name for the conceptual row
  1912.                object is derived by appending a sub-identifier of "1" to
  1913.                the administratively assigned name for the conceptual
  1914.                table.
  1915.  
  1916.           (2)  If the object corresponds to a conceptual row, then at
  1917.                least one assignment, one for each column in the
  1918.                conceptual row, is present beneath that object.  The
  1919.                administratively assigned name for each column is derived
  1920.                by appending a unique, positive sub-identifier to the
  1921.                administratively assigned name for the conceptual row.
  1922.  
  1923.           (3)  Otherwise, no other OBJECT IDENTIFIERs which are
  1924.                subordinate to the object may be assigned.
  1925.  
  1926.           Note that the final sub-identifier of any administratively
  1927.           assigned name for an object shall be positive.  A zero-valued
  1928.           final sub-identifier is reserved for future use.
  1929.  
  1930.           Further note that although conceptual tables and rows are
  1931.           given administratively assigned names, these conceptual
  1932.           objects may not be manipulated in aggregate form by the
  1933.           management protocol.
  1934.  
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.                               Expires June 22, 1993            [Page 33]
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.           Draft   Structure of Management Information for SNMPv2  Dec 92
  1951.  
  1952.  
  1953.           7.11.  Usage Example
  1954.  
  1955.           Consider how one might define a conceptual table and its
  1956.           subordinates.
  1957.  
  1958.           evalSlot OBJECT-TYPE
  1959.               SYNTAX      INTEGER
  1960.               MAX-ACCESS  read-only
  1961.               STATUS      current
  1962.               DESCRIPTION
  1963.                       "The index number of the first unassigned entry in
  1964.                       the evaluation table.
  1965.  
  1966.                       A management station should create new entries in
  1967.                       the evaluation table using this algorithm: first,
  1968.                       issue a management protocol retrieval operation to
  1969.                       determine the value of evalSlot; and, second,
  1970.                       issue a management protocol set operation to
  1971.                       create an instance of the evalStatus object
  1972.                       setting its value to underCreation(1).  If this
  1973.                       latter operation succeeds, then the management
  1974.                       station may continue modifying the instances
  1975.                       corresponding to the newly created conceptual row,
  1976.                       without fear of collision with other management
  1977.                       stations."
  1978.               ::= { eval 1 }
  1979.  
  1980.           evalTable OBJECT-TYPE
  1981.               SYNTAX      SEQUENCE OF EvalEntry
  1982.               MAX-ACCESS  not-accessible
  1983.               STATUS      current
  1984.               DESCRIPTION
  1985.                       "The (conceptual) evaluation table."
  1986.               ::= { eval 2 }
  1987.  
  1988.           evalEntry OBJECT-TYPE
  1989.               SYNTAX      EvalEntry
  1990.               MAX-ACCESS  not-accessible
  1991.               STATUS      current
  1992.               DESCRIPTION
  1993.                       "An entry (conceptual row) in the evaluation
  1994.                       table."
  1995.               INDEX   { evalIndex }
  1996.               ::= { evalTable 1 }
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.                               Expires June 22, 1993            [Page 34]
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.           Draft   Structure of Management Information for SNMPv2  Dec 92
  2010.  
  2011.  
  2012.           EvalEntry ::=
  2013.               SEQUENCE {
  2014.                   evalIndex       Integer32,
  2015.                   evalString      DisplayString,
  2016.                   evalValue       Integer32,
  2017.                   evalStatus      RowStatus
  2018.               }
  2019.  
  2020.           evalIndex OBJECT-TYPE
  2021.               SYNTAX      Integer32
  2022.               MAX-ACCESS  not-accessible
  2023.               STATUS      current
  2024.               DESCRIPTION
  2025.                       "The auxiliary variable used for identifying
  2026.                       instances of the columnar objects in the
  2027.                       evaluation table."
  2028.                   ::= { evalEntry 1 }
  2029.  
  2030.           evalString OBJECT-TYPE
  2031.               SYNTAX      DisplayString
  2032.               MAX-ACCESS  read-create
  2033.               STATUS      current
  2034.               DESCRIPTION
  2035.                       "The string to evaluate."
  2036.                   ::= { evalEntry 2 }
  2037.  
  2038.           evalValue OBJECT-TYPE
  2039.               SYNTAX      Integer32
  2040.               MAX-ACCESS  read-only
  2041.               STATUS      current
  2042.               DESCRIPTION
  2043.                       "The value when evalString was last executed."
  2044.               DEFVAL  { 0 }
  2045.                   ::= { evalEntry 3 }
  2046.  
  2047.           evalStatus OBJECT-TYPE
  2048.               SYNTAX      RowStatus
  2049.               MAX-ACCESS  read-create
  2050.               STATUS      current
  2051.               DESCRIPTION
  2052.                       "The status column used for creating, modifying,
  2053.                       and deleting instances of the columnar objects in
  2054.                       the evaluation  table."
  2055.               DEFVAL  { active }
  2056.                   ::= { evalEntry 4 }
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062.                               Expires June 22, 1993            [Page 35]
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068.           Draft   Structure of Management Information for SNMPv2  Dec 92
  2069.  
  2070.  
  2071.           8.  Mapping of the NOTIFICATION-TYPE macro
  2072.  
  2073.           The NOTIFICATION-TYPE macro is used to define the information
  2074.           contained within an unsolicited transmission of management
  2075.           information (i.e., within either a SNMPv2-Trap-PDU or
  2076.           InformRequest-PDU).  It should be noted that the expansion of
  2077.           the NOTIFICATION-TYPE macro is something which conceptually
  2078.           happens during implementation and not during run-time.
  2079.  
  2080.  
  2081.           8.1.  Mapping of the OBJECTS clause
  2082.  
  2083.           The OBJECTS clause, which need not be present, defines the
  2084.           ordered sequence of MIB objects which are contained within
  2085.           every instance of the notification.
  2086.  
  2087.  
  2088.           8.2.  Mapping of the STATUS clause
  2089.  
  2090.           The STATUS clause, which must be present, indicates whether
  2091.           this definition is current or historic.
  2092.  
  2093.           The values "current", and "obsolete" are self-explanatory.
  2094.           The "deprecated" value indicates that the notification is
  2095.           obsolete, but that an implementor may wish to support that
  2096.           object to foster interoperability with older implementations.
  2097.  
  2098.  
  2099.           8.3.  Mapping of the DESCRIPTION clause
  2100.  
  2101.           The DESCRIPTION clause, which must be present, contains a
  2102.           textual definition of the notification which provides all
  2103.           semantic definitions necessary for implementation, and should
  2104.           embody any information which would otherwise be communicated
  2105.           in any ASN.1 commentary annotations associated with the
  2106.           object.  In particular, the DESCRIPTION clause should document
  2107.           which instances of the objects mentioned in the OBJECTS clause
  2108.           should be contained within notifications of this type.
  2109.  
  2110.  
  2111.           8.4.  Mapping of the REFERENCE clause
  2112.  
  2113.           The REFERENCE clause, which need not be present, contains a
  2114.           textual cross-reference to a notification defined in some
  2115.           other information module.  This is useful when de-osifying a
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.                               Expires June 22, 1993            [Page 36]
  2122.  
  2123.  
  2124.  
  2125.  
  2126.  
  2127.           Draft   Structure of Management Information for SNMPv2  Dec 92
  2128.  
  2129.  
  2130.           MIB module produced by some other organization.
  2131.  
  2132.  
  2133.           8.5.  Mapping of the NOTIFICATION-TYPE value
  2134.  
  2135.           The value of an invocation of the NOTIFICATION-TYPE macro is
  2136.           the name of the notification, which is an OBJECT IDENTIFIER,
  2137.           an administratively assigned name.
  2138.  
  2139.           Sections 4.2.6 and 4.2.7 of [6] describe how the
  2140.           NOTIFICATION-TYPE macro is used to generate a SNMPv2-Trap-PDU
  2141.           or InformRequest-PDU, respectively.
  2142.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147.  
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.                               Expires June 22, 1993            [Page 37]
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186.           Draft   Structure of Management Information for SNMPv2  Dec 92
  2187.  
  2188.  
  2189.           8.6.  Usage Example
  2190.  
  2191.           Consider how a linkUp trap might be described:
  2192.  
  2193.           linkUp NOTIFICATION-TYPE
  2194.               OBJECTS { ifIndex }
  2195.               STATUS  current
  2196.               DESCRIPTION
  2197.                       "A linkUp trap signifies that the SNMPv2 entity,
  2198.                       acting in an agent role, recognizes that one of
  2199.                       the communication links represented in its
  2200.                       configuration has come up."
  2201.               ::= { snmpTraps 4 }
  2202.  
  2203.           According to this invocation, the trap authoritatively
  2204.           identified as
  2205.  
  2206.                { snmpTraps 4 }
  2207.  
  2208.           is used to report a link coming up.
  2209.  
  2210.           Note that a SNMPv2 entity acting in an agent role can be
  2211.           configured to send this trap to zero or more SNMPv2 entities
  2212.           acting in a manager role, depending on the contents of the
  2213.           aclTable and viewTable [8] tables.  For example, by judicious
  2214.           use of the viewTable, a SNMPv2 entity acting in an agent role
  2215.           might be configured to send all linkUp traps to one particular
  2216.           SNMPv2 entity, and linkUp traps for only certain interfaces to
  2217.           other SNMPv2 entities.
  2218.  
  2219.  
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.                               Expires June 22, 1993            [Page 38]
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.           Draft   Structure of Management Information for SNMPv2  Dec 92
  2246.  
  2247.  
  2248.           9.  Refined Syntax
  2249.  
  2250.           Some macros allow an object's syntax to be refined (e.g., the
  2251.           SYNTAX clause in the MODULE-COMPLIANCE macro [2]).  However,
  2252.           not all refinements of syntax are appropriate.  In particular,
  2253.           the object's primitive or application type must not be
  2254.           changed.
  2255.  
  2256.           Further, the following restrictions apply:
  2257.  
  2258.                                       Restrictions to Refinement on
  2259.             object syntax         range   enumeration     size    repertoire
  2260.             -----------------     -----   -----------     ----    ----------
  2261.                       INTEGER      (1)        (2)           -         -
  2262.                  OCTET STRING       -          -           (3)       (4)
  2263.             OBJECT IDENTIFIER       -          -            -         -
  2264.                    BIT STRING       -         (2)           -         -
  2265.                     IpAddress       -          -            -         -
  2266.                     Counter32       -          -            -         -
  2267.                       Gauge32      (1)         -            -         -
  2268.                     TimeTicks       -          -            -         -
  2269.                   NsapAddress       -          -            -         -
  2270.                     Counter64       -          -            -         -
  2271.  
  2272.           where:
  2273.  
  2274.           (1)  the range of permitted values may be refined by raising
  2275.                the lower-bounds, by reducing the upper-bounds, and/or by
  2276.                reducing the alternative value/range choices;
  2277.  
  2278.           (2)  the enumeration of named-values may be refined by
  2279.                removing one or more named-values;
  2280.  
  2281.           (3)  the size in characters of the value may be refined by
  2282.                raising the lower-bounds, by reducing the upper-bounds,
  2283.                and/or by reducing the alternative size choices; or,
  2284.  
  2285.           (4)  the repertoire of characters in the value may be reduced
  2286.                by further sub-typing.
  2287.  
  2288.           Otherwise no refinements are possible.
  2289.  
  2290.           Note that when refining an object with a SYNTAX clause value
  2291.           of Integer32 or UInteger32, the refined SYNTAX is expressed as
  2292.           an INTEGER and the restrictions of the table above are used.
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.                               Expires June 22, 1993            [Page 39]
  2299.  
  2300.  
  2301.  
  2302.  
  2303.  
  2304.           Draft   Structure of Management Information for SNMPv2  Dec 92
  2305.  
  2306.  
  2307.           10.  Extending an Information Module
  2308.  
  2309.           As experience is gained with a published information module,
  2310.           it may be desirable to revise that information module.
  2311.  
  2312.           To begin, the invocation of the MODULE-IDENTITY macro should
  2313.           be updated to include information about the revision.
  2314.           Usually, this consists of updating the LAST-UPDATED clause and
  2315.           adding a pair of REVISION and DESCRIPTION clauses.  However,
  2316.           other existing clauses in the invocation may be updated.
  2317.  
  2318.           Note that the module's label (e.g., "FIZBIN-MIB" from the
  2319.           example in Section 5.8), is not changed when the information
  2320.           module is revised.
  2321.  
  2322.  
  2323.           10.1.  Object Assignments
  2324.  
  2325.           If any non-editorial change is made to any clause of a object
  2326.           assignment, then the OBJECT IDENTIFIER value associated with
  2327.           that object assignment must also be changed, along with its
  2328.           associated descriptor.
  2329.  
  2330.  
  2331.           10.2.  Object Definitions
  2332.  
  2333.           An object definition may be revised in any of the following
  2334.           ways:
  2335.  
  2336.           (1)  Existing objects with a STATUS clause value of "current"
  2337.                may be revised as "deprecated" or "obsolete".  Similarly,
  2338.                objects with a STATUS clause value of "deprecated" may be
  2339.                revised as "obsolete".
  2340.  
  2341.           (2)  A DEFVAL clause may be added or updated.
  2342.  
  2343.           (3)  A REFERENCE clause may be added or updated.
  2344.  
  2345.           (4)  A UNITS clause may be added.
  2346.  
  2347.           (5)  A conceptual row may be augmented by adding new columnar
  2348.                objects at the end of the row.
  2349.  
  2350.           (6)  Entirely new objects may be defined, named with
  2351.                previously unassigned OBJECT IDENTIFIER values.
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.                               Expires June 22, 1993            [Page 40]
  2358.  
  2359.  
  2360.  
  2361.  
  2362.  
  2363.           Draft   Structure of Management Information for SNMPv2  Dec 92
  2364.  
  2365.  
  2366.           Otherwise, if the semantics of any previously defined object
  2367.           are changed (i.e., if a non-editorial change is made to any
  2368.           clause other those specifically allowed above, e.g., adding or
  2369.           changing labels in a SYNTAX clause containing an enumerated
  2370.           integer), then the OBJECT IDENTIFIER value associated with
  2371.           that object must also be changed.
  2372.  
  2373.           Note that changing the descriptor associated with an existing
  2374.           object is considered a semantic change, as these strings may
  2375.           be used in an IMPORTS statement.
  2376.  
  2377.           Finally, note that if an object has the value of its STATUS
  2378.           clause changed, then the value of its DESCRIPTION clause
  2379.           should be updated accordingly.
  2380.  
  2381.  
  2382.           10.3.  Notification Definitions
  2383.  
  2384.           A notification definition may be revised in any of the
  2385.           following ways:
  2386.  
  2387.           (1)  A REFERENCE clause may be added or updated.
  2388.  
  2389.           Otherwise, if the semantics of any previously defined
  2390.           notification are changed (i.e., if a non-editorial change is
  2391.           made to any clause other those specifically allowed above),
  2392.           then the OBJECT IDENTIFIER value associated with that
  2393.           notification must also be changed.
  2394.  
  2395.           Note that changing the descriptor associated with an existing
  2396.           notification is considered a semantic change, as these strings
  2397.           may be used in an IMPORTS statement.
  2398.  
  2399.           Finally, note that if an object has the value of its STATUS
  2400.           clause changed, then the value of its DESCRIPTION clause
  2401.           should be updated accordingly.
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.                               Expires June 22, 1993            [Page 41]
  2417.  
  2418.  
  2419.  
  2420.  
  2421.  
  2422.           Draft   Structure of Management Information for SNMPv2  Dec 92
  2423.  
  2424.  
  2425.           11.  Appendix: de-OSIfying a MIB module
  2426.  
  2427.           There has been an increasing amount of work recently on taking
  2428.           MIBs defined by other organizations (e.g., the IEEE) and de-
  2429.           osifying them for use with the Internet-standard network
  2430.           management framework.  The steps to achieve this are
  2431.           straight-forward, though tedious.  Of course, it is helpful to
  2432.           already be experienced in writing MIB modules for use with the
  2433.           Internet-standard network management framework.
  2434.  
  2435.           The first step is to construct a skeletal MIB module, as shown
  2436.           earlier in Section 5.8.  The next step is to categorize the
  2437.           objects into groups.  Optional objects are not permitted.
  2438.           Thus, when a MIB module is created, optional objects must be
  2439.           placed in a additional groups, which, if implemented, all
  2440.           objects in the group must be implemented.  For the first pass,
  2441.           it is wisest to simply ignore any optional objects in the
  2442.           original MIB: experience shows it is better to define a core
  2443.           MIB module first, containing only essential objects; later, if
  2444.           experience demands, other objects can be added.
  2445.  
  2446.  
  2447.           11.1.  Managed Object Mapping
  2448.  
  2449.           Next for each managed object class, determine whether there
  2450.           can exist multiple instances of that managed object class.  If
  2451.           not, then for each of its attributes, use the OBJECT-TYPE
  2452.           macro to make an equivalent definition.
  2453.  
  2454.           Otherwise, if multiple instances of the managed object class
  2455.           can exist, then define a conceptual table having conceptual
  2456.           rows each containing a columnar object for each of the managed
  2457.           object class's attributes.  If the managed object class is
  2458.           contained within the containment tree of another managed
  2459.           object class, then the assignment of an object is normally
  2460.           required for each of the "distinguished attributes" of the
  2461.           containing managed object class.  If they do not already exist
  2462.           within the MIB module, then they can be added via the
  2463.           definition of additional columnar objects in the conceptual
  2464.           row corresponding to the contained managed object class.
  2465.  
  2466.           In defining a conceptual row, it is useful to consider the
  2467.           optimization of network management operations which will act
  2468.           upon its columnar objects.  In particular, it is wisest to
  2469.           avoid defining more columnar objects within a conceptual row,
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.                               Expires June 22, 1993            [Page 42]
  2476.  
  2477.  
  2478.  
  2479.  
  2480.  
  2481.           Draft   Structure of Management Information for SNMPv2  Dec 92
  2482.  
  2483.  
  2484.           than can fit in a single PDU.  As a rule of thumb, a
  2485.           conceptual row should contain no more than approximately 20
  2486.           objects.  Similarly, or as a way to abide by the "20 object
  2487.           guideline", columnar objects should be grouped into tables
  2488.           according to the expected grouping of network management
  2489.           operations upon them.  As such, the content of conceptual rows
  2490.           should reflect typical access scenarios, e.g., they should be
  2491.           organized along functional lines such as one row for
  2492.           statistics and another row for parameters, or along usage
  2493.           lines such as commonly-needed objects versus rarely-needed
  2494.           objects.
  2495.  
  2496.           On the other hand, the definition of conceptual rows where the
  2497.           number of columnar objects used as indexes outnumbers the
  2498.           number used to hold information, should also be avoided.  In
  2499.           particular, the splitting of a managed object class's
  2500.           attributes into many conceptual tables should not be used as a
  2501.           way to obtain the same degree of flexibility/complexity as is
  2502.           often found in MIBs with a myriad of optionals.
  2503.  
  2504.  
  2505.           11.1.1.  Mapping to the SYNTAX clause
  2506.  
  2507.           When mapping to the SYNTAX clause of the OBJECT-type macro:
  2508.  
  2509.           (1)  An object with BOOLEAN syntax becomes a TruthValue [3].
  2510.  
  2511.           (2)  An object with INTEGER syntax becomes an Integer32.
  2512.  
  2513.           (3)  An object with ENUMERATED syntax becomes an INTEGER with
  2514.                enumerations, taking any of the values given which can be
  2515.                represented with an Integer32.
  2516.  
  2517.           (4)  An object with BIT STRING syntax but no enumerations
  2518.                becomes an OCTET STRING.
  2519.  
  2520.           (5)  An object with a character string syntax becomes either
  2521.                an OCTET STRING, or a DisplayString [3], depending on the
  2522.                repertoire of the character string.
  2523.  
  2524.           (6)  A non-tabular object with a complex syntax, such as REAL
  2525.                or EXTERNAL, must be decomposed, usually into an OCTET
  2526.                STRING (if sensible).  As a rule, any object with a
  2527.                complicated syntax should be avoided.
  2528.  
  2529.  
  2530.  
  2531.  
  2532.  
  2533.  
  2534.                               Expires June 22, 1993            [Page 43]
  2535.  
  2536.  
  2537.  
  2538.  
  2539.  
  2540.           Draft   Structure of Management Information for SNMPv2  Dec 92
  2541.  
  2542.  
  2543.           (7)  Tabular objects must be decomposed into rows of columnar
  2544.                objects.
  2545.  
  2546.  
  2547.           11.1.2.  Mapping to the UNITS clause
  2548.  
  2549.           If the description of this managed object defines a unit-
  2550.           basis, then mapping to this clause is straight-forward.
  2551.  
  2552.  
  2553.           11.1.3.  Mapping to the MAX-ACCESS clause
  2554.  
  2555.           This is straight-forward.
  2556.  
  2557.  
  2558.           11.1.4.  Mapping to the STATUS clause
  2559.  
  2560.           This is straight-forward.
  2561.  
  2562.  
  2563.           11.1.5.  Mapping to the DESCRIPTION clause
  2564.  
  2565.           This is straight-forward: simply copy the text, making sure
  2566.           that any embedded double quotation marks are sanitized (i.e.,
  2567.           replaced with single-quotes or removed).
  2568.  
  2569.  
  2570.           11.1.6.  Mapping to the REFERENCE clause
  2571.  
  2572.           This is straight-forward: simply include a textual reference
  2573.           to the object being mapped, the document which defines the
  2574.           object, and perhaps a page number in the document.
  2575.  
  2576.  
  2577.           11.1.7.  Mapping to the INDEX clause
  2578.  
  2579.           If necessary, decide how instance-identifiers for columnar
  2580.           objects are to be formed and define this clause accordingly.
  2581.  
  2582.  
  2583.           11.1.8.  Mapping to the DEFVAL clause
  2584.  
  2585.           Decide if a meaningful default value can be assigned to the
  2586.           object being mapped, and if so, define the DEFVAL clause
  2587.           accordingly.
  2588.  
  2589.  
  2590.  
  2591.  
  2592.  
  2593.                               Expires June 22, 1993            [Page 44]
  2594.  
  2595.  
  2596.  
  2597.  
  2598.  
  2599.           Draft   Structure of Management Information for SNMPv2  Dec 92
  2600.  
  2601.  
  2602.           11.2.  Action Mapping
  2603.  
  2604.           Actions are modeled as read-write objects, in which writing a
  2605.           particular value results in a state change.  (Usually, as a
  2606.           part of this state change, some action might take place.)
  2607.  
  2608.  
  2609.           11.2.1.  Mapping to the SYNTAX clause
  2610.  
  2611.           Usually the Integer32 syntax is used with a distinguished
  2612.           value provided for each action that the object provides access
  2613.           to.  In addition, there is usually one other distinguished
  2614.           value, which is the one returned when the object is read.
  2615.  
  2616.  
  2617.           11.2.2.  Mapping to the MAX-ACCESS clause
  2618.  
  2619.           Always use read-write or read-create.
  2620.  
  2621.  
  2622.           11.2.3.  Mapping to the STATUS clause
  2623.  
  2624.           This is straight-forward.
  2625.  
  2626.  
  2627.           11.2.4.  Mapping to the DESCRIPTION clause
  2628.  
  2629.           This is straight-forward: simply copy the text, making sure
  2630.           that any embedded double quotation marks are sanitized (i.e.,
  2631.           replaced with single-quotes or removed).
  2632.  
  2633.  
  2634.           11.2.5.  Mapping to the REFERENCE clause
  2635.  
  2636.           This is straight-forward: simply include a textual reference
  2637.           to the action being mapped, the document which defines the
  2638.           action, and perhaps a page number in the document.
  2639.  
  2640.  
  2641.           11.3.  Event Mapping
  2642.  
  2643.           Events are modeled as SNMPv2 notifications using
  2644.           NOTIFICATION-TYPE macro.  However, recall that SNMPv2
  2645.           emphasizes trap-directed polling.  As such, few, and usually
  2646.           no, notifications, need be defined for any MIB module.
  2647.  
  2648.  
  2649.  
  2650.  
  2651.  
  2652.                               Expires June 22, 1993            [Page 45]
  2653.  
  2654.  
  2655.  
  2656.  
  2657.  
  2658.           Draft   Structure of Management Information for SNMPv2  Dec 92
  2659.  
  2660.  
  2661.           11.3.1.  Mapping to the STATUS clause
  2662.  
  2663.           This is straight-forward.
  2664.  
  2665.  
  2666.           11.3.2.  Mapping to the DESCRIPTION clause
  2667.  
  2668.           This is straight-forward: simply copy the text, making sure
  2669.           that any embedded double quotation marks are sanitized (i.e.,
  2670.           replaced with single-quotes or removed).
  2671.  
  2672.  
  2673.           11.3.3.  Mapping to the REFERENCE clause
  2674.  
  2675.           This is straight-forward: simply include a textual reference
  2676.           to the notification being mapped, the document which defines
  2677.           the notification, and perhaps a page number in the document.
  2678.  
  2679.  
  2680.  
  2681.  
  2682.  
  2683.  
  2684.  
  2685.  
  2686.  
  2687.  
  2688.  
  2689.  
  2690.  
  2691.  
  2692.  
  2693.  
  2694.  
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.  
  2711.                               Expires June 22, 1993            [Page 46]
  2712.  
  2713.  
  2714.  
  2715.  
  2716.  
  2717.           Draft   Structure of Management Information for SNMPv2  Dec 92
  2718.  
  2719.  
  2720.           12.  Acknowledgements
  2721.  
  2722.           The section on object definitions (and MIB de-osification) is
  2723.           based, in part, on RFCs 1155 and 1212.  The IMPLIED keyword is
  2724.           based on a conversation with David T. Perkins in December,
  2725.           1991.
  2726.  
  2727.           The section on trap definitions is based, in part, on RFC
  2728.           1215.
  2729.  
  2730.           Finally, the comments of the SNMP version 2 working group are
  2731.           gratefully acknowledged:
  2732.  
  2733.                Beth Adams, Network Management Forum
  2734.                Steve Alexander, INTERACTIVE Systems Corporation
  2735.                David Arneson, Cabletron Systems
  2736.                Toshiya Asaba,
  2737.                Fred Baker, ACC
  2738.                Jim Barnes, Xylogics, Inc.
  2739.                Brian Bataille
  2740.                Andy Bierman, SynOptics Communications, Inc.
  2741.                Uri Blumenthal, IBM Corporation
  2742.                Fred Bohle, Interlink
  2743.                Jack Brown
  2744.                Theodore Brunner, Bellcore
  2745.                Stephen F. Bush, GE Information Services
  2746.                Deirdre C. Kostik, Bellcore
  2747.                Jeff Case, University of Tennessee, Knoxville
  2748.                John Chang, IBM Corporation
  2749.                Szusin Chen, Sun Microsystems
  2750.                Robert Ching
  2751.                Chris Chiotasso, Ungermann-Bass
  2752.                Bobby A. Clay, NASA/Boeing
  2753.                John Cooke, Chipcom
  2754.                Tracy Cox, Bellcore
  2755.                Juan Cruz, Datability, Inc.
  2756.                David Cullerot, Cabletron Systems
  2757.                Cathy Cunningham, Microcom
  2758.                James R. (Chuck) Davin, Bellcore
  2759.                Michael Davis, Clearpoint
  2760.                Mike Davison, FiberCom
  2761.                Cynthia DellaTorre, MITRE
  2762.                Taso N. Devetzis, Bellcore
  2763.                Manual Diaz, DAVID Systems, Inc.
  2764.                Jon Dreyer, Sun Microsystems
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.                               Expires June 22, 1993            [Page 47]
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.           Draft   Structure of Management Information for SNMPv2  Dec 92
  2777.  
  2778.  
  2779.                Susan E. Hicks, Martin Marietta Energy Systems
  2780.                David Engel, Optical Data Systems
  2781.                Mike Erlinger, Lexcel
  2782.                Roger Fajman, NIH
  2783.                Daniel Fauvarque, Sun Microsystems
  2784.                Karen Frisa, CMU
  2785.                Shari Galitzer, MITRE
  2786.                Shawn Gallagher, Digital Equipment Corporation
  2787.                Richard Graveman, Bellcore
  2788.                Maria Greene, Xyplex, Inc.
  2789.                Michel Guittet, Apple
  2790.                Robert Gutierrez, NASA
  2791.                Bill Hagerty, Cabletron Systems
  2792.                Gary W. Haney, Martin Marietta Energy Systems
  2793.                Patrick Hanil, Nokia Telecommunications
  2794.                Matt Hecht, SNMP Research, Inc.
  2795.                Edward A. Heiner, Jr., Synernetics Inc.
  2796.                Geral Holzhauer, Apple
  2797.                John Hopprich, DAVID Systems, Inc.
  2798.                Jeff Hughes, Hewlett-Packard
  2799.                Robin Iddon, Axon Networks, Inc.
  2800.                David Itusak
  2801.                Kevin M. Jackson, Concord Communications, Inc.
  2802.                Ole J. Jacobsen, Interop Company
  2803.                Ronald Jacoby, Silicon Graphics, Inc.
  2804.                Satish Joshi, SynOptics Communications, Inc.
  2805.                Frank Kastenholz, FTP Software
  2806.                Mark Kepke, Hewlett-Packard
  2807.                Ken Key, SNMP Research, Inc.
  2808.                Zbiginew Kielczewski, Eicon
  2809.                Jongyeoi Kim
  2810.                Andrew Knutsen, The Santa Cruz Operation
  2811.                Michael L Kornegay, VisiSoft
  2812.                Cheryl Krupczak, Georgia Tech
  2813.                Steven L. Waldbusser, Carnegie Mellon Universitty
  2814.                Mark S. Lewis, Telebit
  2815.                David Lin
  2816.                David Lindemulder, AT&T/NCR
  2817.                Ben Lisowski, Sprint
  2818.                David Liu, Bell-Northern Research
  2819.                John Lunny, The Wollongong Group
  2820.                Robert C. Lushbaugh Martin, Marietta Energy Systems
  2821.                Michael Luufer, BBN
  2822.                Carl Madison, Star-Tek, Inc.
  2823.                Keith McCloghrie, Hughes LAN Systems
  2824.  
  2825.  
  2826.  
  2827.  
  2828.  
  2829.                               Expires June 22, 1993            [Page 48]
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.           Draft   Structure of Management Information for SNMPv2  Dec 92
  2836.  
  2837.  
  2838.                Evan McGinnis, 3Com Corporation
  2839.                Bill McKenzie, IBM Corporation
  2840.                Donna McMaster, SynOptics Communications, Inc.
  2841.                John Medicke, IBM Corporation
  2842.                Doug Miller, Telebit
  2843.                Dave Minnich, FiberCom
  2844.                Mohammad Mirhakkak, MITRE
  2845.                Rohit Mital, Protools
  2846.                George Mouradian, AT&T Bell Labs
  2847.                Patrick Mullaney, Cabletron Systems
  2848.                Dan Myers, 3Com Corporation
  2849.                Rina Nathaniel, Rad Network Devices Ltd.
  2850.                Hien V. Nguyen, Sprint
  2851.                Mo Nikain
  2852.                Tom Nisbet
  2853.                William B. Norton, MERIT
  2854.                Steve Onishi, Wellfleet Communications, Inc.
  2855.                David T. Perkins, SynOptics Communications, Inc.
  2856.                Carl Powell, BBN
  2857.                Ilan Raab, SynOptics Communications, Inc.
  2858.                RIchard Ramons, AT&T
  2859.                Venkat D. Rangan, Metric Network Systems, Inc.
  2860.                Louise Reingold, Sprint
  2861.                Sam Roberts, Farallon Computing, Inc.
  2862.                Kary Robertson, Concord Communications, Inc.
  2863.                Dan Romascanu, Lannet Data Communications Ltd.
  2864.                Marshall T. Rose, Dover Beach Consulting, Inc.
  2865.                Shawn A. Routhier, Epilogue Technology Corporation
  2866.                Chris Rozman
  2867.                Asaf Rubissa, Fibronics
  2868.                Jon Saperia, Digital Equipment Corporation
  2869.                Michael Sapich
  2870.                Mike Scanlon, Interlan
  2871.                Sam Schaen, MITRE
  2872.                John Seligson, Ultra Network Technologies
  2873.                Paul A. Serice, Corporation for Open Systems
  2874.                Chris Shaw, Banyan Systems
  2875.                Timon Sloane
  2876.                Robert Snyder, Cisco Systems
  2877.                Joo Young Song
  2878.                Roy Spitier, Sprint
  2879.                Einar Stefferud, Network Management Associates
  2880.                John Stephens, Cayman Systems, Inc.
  2881.                Bob Stewart, Xyplex, Inc. (chair)
  2882.                Kaj Tesink, Bellcore
  2883.  
  2884.  
  2885.  
  2886.  
  2887.  
  2888.                               Expires June 22, 1993            [Page 49]
  2889.  
  2890.  
  2891.  
  2892.  
  2893.  
  2894.           Draft   Structure of Management Information for SNMPv2  Dec 92
  2895.  
  2896.  
  2897.                Dean Throop, Data General
  2898.                Ahmet Tuncay, France Telecom-CNET
  2899.                Maurice Turcotte, Racal Datacom
  2900.                Warren Vik, INTERACTIVE Systems Corporation
  2901.                Yannis Viniotis
  2902.                Steve Waldbusser, CMU
  2903.                Timothy M. Walden, ACC
  2904.                Alice Wang, Sun Microsystems
  2905.                James Watt, Newbridge
  2906.                Luanne Waul, Timeplex
  2907.                Donald E. Westlake III, Digital Equipment Corporation
  2908.                Gerry White
  2909.                Bert Wijnen, IBM Corporation
  2910.                Peter Wilson, 3Com Corporation
  2911.                Steven Wong, Digital Equipment Corporation
  2912.                Randy Worzella, IBM Corporation
  2913.                Daniel Woycke, MITRE
  2914.                Honda Wu
  2915.                Jeff Yarnell, Protools
  2916.                Chris Young, Cabletron
  2917.                Kiho Yum, 3Com Corporation
  2918.  
  2919.  
  2920.  
  2921.  
  2922.  
  2923.  
  2924.  
  2925.  
  2926.  
  2927.  
  2928.  
  2929.  
  2930.  
  2931.  
  2932.  
  2933.  
  2934.  
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946.  
  2947.                               Expires June 22, 1993            [Page 50]
  2948.  
  2949.  
  2950.  
  2951.  
  2952.  
  2953.           Draft   Structure of Management Information for SNMPv2  Dec 92
  2954.  
  2955.  
  2956.           13.  References
  2957.  
  2958.           [1]  Information processing systems - Open Systems
  2959.                Interconnection - Specification of Abstract Syntax
  2960.                Notation One (ASN.1), International Organization for
  2961.                Standardization.  International Standard 8824, (December,
  2962.                1987).
  2963.  
  2964.           [2]  J.D. Case, K. McCloghrie, M.T. Rose, S.L. Waldbusser,
  2965.                Conformance Statements for version 2 of the the Simple
  2966.                Network Management Protocol (SNMPv2).  Internet-Draft,     |
  2967.                (December 22, 1992).                                       |
  2968.  
  2969.           [3]  J.D. Case, K. McCloghrie, M.T. Rose, S.L. Waldbusser,
  2970.                Textual Conventions for version 2 of the the Simple
  2971.                Network Management Protocol (SNMPv2).  Internet-Draft,     |
  2972.                (December 22, 1992).                                       |
  2973.  
  2974.           [4]  Information processing systems - Open Systems
  2975.                Interconnection - Specification of Basic Encoding Rules
  2976.                for Abstract Syntax Notation One (ASN.1), International
  2977.                Organization for Standardization.  International Standard
  2978.                8825, (December, 1987).
  2979.  
  2980.           [5]  J.D. Case, K. McCloghrie, M.T. Rose, S.L. Waldbusser,
  2981.                Management Information Base for version 2 of the Simple
  2982.                Network Management Protocol (SNMPv2).  Internet-Draft,     |
  2983.                (December 22, 1992).                                       |
  2984.  
  2985.           [6]  J.D. Case, K. McCloghrie, M.T. Rose, S.L. Waldbusser,
  2986.                Protocol Operations for version 2 of the Simple Network
  2987.                Management Protocol (SNMPv2).  Internet-Draft, (December   |
  2988.                22, 1992).                                                 |
  2989.  
  2990.           [7]  K. McCloghrie and M.T. Rose, Management Information Base
  2991.                for Network Management of TCP/IP-based internets: MIB-II.
  2992.                Request for Comments 1213, (March, 1991).
  2993.  
  2994.           [8]  K. McCloghrie, J.R. Davin, J.M. Galvin, Party MIB for
  2995.                version 2 of the Simple Network Management Protocol
  2996.                (SNMPv2).  Internet-Draft, (December 22, 1992).            |
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.                               Expires June 22, 1993            [Page 51]
  3007.  
  3008.  
  3009.  
  3010.  
  3011.  
  3012.           Draft   Structure of Management Information for SNMPv2  Dec 92
  3013.  
  3014.  
  3015.           Table of Contents
  3016.  
  3017.  
  3018.           1 Introduction ..........................................    2
  3019.           1.1 A Note on Terminology ...............................    3
  3020.           2 Definitions ...........................................    4
  3021.           3.1 The MODULE-IDENTITY macro ...........................    5
  3022.           3.2 Object Names and Syntaxes ...........................    7
  3023.           3.3 The OBJECT-TYPE macro ...............................   10
  3024.           3.5 The NOTIFICATION-TYPE macro .........................   12
  3025.           3 Information Modules ...................................   13
  3026.           3.1 Macro Invocation ....................................   13
  3027.           3.1.1 Textual Clauses ...................................   14
  3028.           3.2 IMPORTing Symbols ...................................   14
  3029.           4 Naming Hierarchy ......................................   16
  3030.           5 Mapping of the MODULE-IDENTITY macro ..................   17
  3031.           5.1 Mapping of the LAST-UPDATED clause ..................   17
  3032.           5.2 Mapping of the ORGANIZATION clause ..................   17
  3033.           5.3 Mapping of the CONTACT-INFO clause ..................   17
  3034.           5.4 Mapping of the DESCRIPTION clause ...................   17
  3035.           5.5 Mapping of the REVISION clause ......................   17
  3036.           5.6 Mapping of the DESCRIPTION clause ...................   18
  3037.           5.7 Mapping of the MODULE-IDENTITY value ................   18
  3038.           5.8 Usage Example .......................................   19
  3039.           6 Mapping of the OBJECT-IDENTITY macro ..................   20
  3040.           6.1 Mapping of the STATUS clause ........................   20
  3041.           6.2 Mapping of the DESCRIPTION clause ...................   20
  3042.           6.3 Mapping of the REFERENCE clause .....................   20
  3043.           6.4 Mapping of the OBJECT-IDENTITY value ................   20
  3044.           6.5 Usage Example .......................................   21
  3045.           7 Mapping of the OBJECT-TYPE macro ......................   22
  3046.           7.1 Mapping of the SYNTAX clause ........................   22
  3047.           7.1.1 Integer32 and INTEGER .............................   22
  3048.           7.1.2 OCTET STRING ......................................   23
  3049.           7.1.3 OBJECT IDENTIFIER .................................   23
  3050.           7.1.4 BIT STRING ........................................   23
  3051.           7.1.5 IpAddress .........................................   23
  3052.           7.1.6 Counter32 .........................................   24
  3053.           7.1.7 Gauge32 ...........................................   24
  3054.           7.1.8 TimeTicks .........................................   24
  3055.           7.1.9 Opaque ............................................   25
  3056.           7.1.10 NsapAddress ......................................   25
  3057.           7.1.11 Counter64 ........................................   26
  3058.           7.1.12 UInteger32 .......................................   26
  3059.           7.2 Mapping of the UNITS clause .........................   26
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.                               Expires June 22, 1993            [Page 52]
  3066.  
  3067.  
  3068.  
  3069.  
  3070.  
  3071.           Draft   Structure of Management Information for SNMPv2  Dec 92
  3072.  
  3073.  
  3074.           7.3 Mapping of the MAX-ACCESS clause ....................   27
  3075.           7.4 Mapping of the STATUS clause ........................   27
  3076.           7.5 Mapping of the DESCRIPTION clause ...................   27
  3077.           7.6 Mapping of the REFERENCE clause .....................   28
  3078.           7.7 Mapping of the INDEX clause .........................   28
  3079.           7.7.1 Creation and Deletion of Conceptual Rows ..........   30
  3080.           7.8 Mapping of the AUGMENTS clause ......................   30
  3081.           7.8.1 Relation between INDEX and AUGMENTS clauses .......   31
  3082.           7.9 Mapping of the DEFVAL clause ........................   32
  3083.           7.10 Mapping of the OBJECT-TYPE value ...................   33
  3084.           7.11 Usage Example ......................................   34
  3085.           8 Mapping of the NOTIFICATION-TYPE macro ................   36
  3086.           8.1 Mapping of the OBJECTS clause .......................   36
  3087.           8.2 Mapping of the STATUS clause ........................   36
  3088.           8.3 Mapping of the DESCRIPTION clause ...................   36
  3089.           8.4 Mapping of the REFERENCE clause .....................   36
  3090.           8.5 Mapping of the NOTIFICATION-TYPE value ..............   37
  3091.           8.6 Usage Example .......................................   38
  3092.           9 Refined Syntax ........................................   39
  3093.           10 Extending an Information Module ......................   40
  3094.           10.1 Object Assignments .................................   40
  3095.           10.2 Object Definitions .................................   40
  3096.           10.3 Notification Definitions ...........................   41
  3097.           11 Appendix: de-OSIfying a MIB module ...................   42
  3098.           11.1 Managed Object Mapping .............................   42
  3099.           11.1.1 Mapping to the SYNTAX clause .....................   43
  3100.           11.1.2 Mapping to the UNITS clause ......................   44
  3101.           11.1.3 Mapping to the MAX-ACCESS clause .................   44
  3102.           11.1.4 Mapping to the STATUS clause .....................   44
  3103.           11.1.5 Mapping to the DESCRIPTION clause ................   44
  3104.           11.1.6 Mapping to the REFERENCE clause ..................   44
  3105.           11.1.7 Mapping to the INDEX clause ......................   44
  3106.           11.1.8 Mapping to the DEFVAL clause .....................   44
  3107.           11.2 Action Mapping .....................................   45
  3108.           11.2.1 Mapping to the SYNTAX clause .....................   45
  3109.           11.2.2 Mapping to the MAX-ACCESS clause .................   45
  3110.           11.2.3 Mapping to the STATUS clause .....................   45
  3111.           11.2.4 Mapping to the DESCRIPTION clause ................   45
  3112.           11.2.5 Mapping to the REFERENCE clause ..................   45
  3113.           11.3 Event Mapping ......................................   45
  3114.           11.3.1 Mapping to the STATUS clause .....................   46
  3115.           11.3.2 Mapping to the DESCRIPTION clause ................   46
  3116.           11.3.3 Mapping to the REFERENCE clause ..................   46
  3117.           12 Acknowledgements .....................................   47
  3118.           13 References ...........................................   51
  3119.  
  3120.  
  3121.  
  3122.  
  3123.  
  3124.                               Expires June 22, 1993            [Page 53]
  3125.  
  3126.  
  3127.  
  3128.  
  3129.  
  3130.           Draft   Structure of Management Information for SNMPv2  Dec 92
  3131.  
  3132.  
  3133.  
  3134.  
  3135.  
  3136.  
  3137.  
  3138.  
  3139.  
  3140.  
  3141.  
  3142.  
  3143.  
  3144.  
  3145.  
  3146.  
  3147.  
  3148.  
  3149.  
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155.  
  3156.  
  3157.  
  3158.  
  3159.  
  3160.  
  3161.  
  3162.  
  3163.  
  3164.  
  3165.  
  3166.  
  3167.  
  3168.  
  3169.  
  3170.  
  3171.  
  3172.  
  3173.  
  3174.  
  3175.  
  3176.  
  3177.  
  3178.  
  3179.  
  3180.  
  3181.  
  3182.  
  3183.                               Expires June 22, 1993            [Page 54]
  3184.  
  3185.